//
//  MSConfig.h
//  Orange
//
//  Created by msj on 2017/7/11.
//  Copyright © 2017年 msf. All rights reserved.

//  该文件  只用于存放 全局通用宏

#ifndef MSConfig_h
#define MSConfig_h

//个推生产参数
#define kGtAppId                        @"5cRdXWRSD065HTOKnODx4A"
#define kGtAppKey                       @"GBEWBxanEp7lQ95cQj3udA"
#define kGtAppSecret                    @"MhWpLbtczx5yqNbc8ej6L6"
//个推测试参数
#define kGtTestAppId                    @"5cRdXWRSD065HTOKnODx4A"
#define kGtTestAppKey                   @"GBEWBxanEp7lQ95cQj3udA"
#define kGtTestAppSecret                @"MhWpLbtczx5yqNbc8ej6L6"

#define kEaseMobAppKey @"1132180727146822#wchat"

#define PATTERNLOCK_PASSWORD_LENGTH             4
#define PATTERNLOCK_PASSWORD_ERROR_COUNT        5
#define TRADE_PASSWORD_NUMBER 6

#define RGB(R,G,B)                  [UIColor colorWithRed:(R)/255.0 green:(G)/255.0 blue:(B)/255.0 alpha:1]
#define THEMECOLOR                  [UIColor ms_colorWithHexString:@"#FF6600"]
#define SECONDARYCOLOR              [UIColor ms_colorWithHexString:@"#FF2020"]

#define SCREENWIDTH                 [UIScreen mainScreen].bounds.size.width
#define SCREENHEIGHT                [UIScreen mainScreen].bounds.size.height
#define statusBarHeight             [UIApplication sharedApplication].statusBarFrame.size.height
#define navigationBarHeight         [(AppDelegate *)[[UIApplication sharedApplication].delegate getNavigationController]].navigationBar.frame.size.height
#define tabBarHeight                49
#define iphoneXbottomHeight         34
#define scaleX                      (SCREENWIDTH / 320.0)
#define scaleY                      (SCREENHEIGHT / 568.0 < 1.0 ? 1.0 : SCREENHEIGHT / 568.0)
#define kDevice_Is_iPhoneX          ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)

#define LIST_REQUEST_COUNT          10

#endif
